window.onload = function(){
    var s = prompt("题目4-我是外部文件","输入任意内容");
    alert("你输入了："+s)
};

